﻿@charset "utf-8";

.pagebox {
    background-color: rgba(226, 224, 224, 0.8);
    border-radius: 6px;
    position: absolute;
    border: 1px solid rgba(62, 63, 63, 0.6);
    box-shadow: 1px 1px 2px rgba(122, 122, 122, 0.3), -1px -1px 2px rgba(122, 122, 122, 0.3);
    user-select: none;   
    overflow:hidden; 
}

/*边框元素*/

.pagebox margin {
    display: block;
    position: relative;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border: 1px solid #fff;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, .6);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 5%, rgba(255, 255, 255, 0.6) 120px, rgba(255, 255, 255, 0) 130px);
}

.pagebox margin>* {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    z-index: 2;
}

.pagebox margin nw {}

.pagebox margin w {
    height: calc(100% - 20px);
    top: 10px;
    left: 0px;
}

.pagebox margin sw {
    bottom: 0px;
    left: 0px;
}

.pagebox margin ne {
    top: 0px;
    right: 0px;
}

.pagebox margin e {
    height: calc(100% - 20px);
    top: 10px;
    right: 0px;
}

.pagebox margin se {
    bottom: 0px;
    right: 0px;
}

.pagebox margin n {
    width: calc(100% - 20px);
    height: 6px;
    top: 0px;
    left: 10px;
}

.pagebox margin s {
    width: calc(100% - 20px);
    bottom: 0px;
    left: 10px;
}

/*移动窗体的响应条*/

.pagebox pagebox_dragbar {
    display: block;
    position: absolute;
    width: calc(100% - 12px - 25px);
    height: 22px;
    top: 6px;
    left: 31px;
    user-select: none;
    cursor: default;
    z-index: 2;
}

.pagebox pagebox_title {
    display: block;
    position: absolute;
    width: calc(100% - 12px);
    height: 30px;
    top: 0px;
    left: 6px;
    user-select: none;
    cursor: default;
    z-index: 1;
}

.pagebox pagebox_title>* {
    display: block;
    float: left;
}

.pagebox pagebox_title pb-ico {
    height: 30px;
    width: auto;
    max-width: 30px;
    line-height: 30px;
    font-size: 18px;
    top: 3px;
    left: 6px;
    z-index: 1;
    font-family: "webdesk_icon" !important;
    text-shadow: .2rem 0rem 1.2rem rgba(255, 255, 255, 1), -.2rem 0rem 1.2rem rgba(255, 255, 255, 1), 0rem .2rem 1.2rem rgba(255, 255, 255, 1), 0rem -.2rem 1.2rem rgba(255, 255, 255, 1);
}

.pagebox pagebox_title .pb-loading {
    color: #666;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(359deg)
    }
}

.pagebox pagebox_title pb-text {
    height: 30px;
    line-height: 30px;
    width: calc(100% - 50px);
    font-size: 13px;
    overflow: hidden;
    padding-right: 5px;
    text-indent: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1;
    user-select: none;
    cursor: default;
    text-shadow: .2rem 0rem 1.2rem rgba(255, 255, 255, 1), -.2rem 0rem .2rem rgba(255, 255, 255, 1), 0rem .2rem 1.2rem rgba(255, 255, 255, 1), 0rem -.2rem 1.2rem rgba(255, 255, 255, 1);
}

/*左上角图标下拉菜单*/

.pagebox dropmenu {
    display: none;
    width: 150px;
    position: absolute;
    z-index: 5;
    background-color: rgba(238, 238, 238, 1);
    border: 1px solid #999;
    --border-top: none;
    --border-left: none;
}

.ui_menu>*:not(hr) {
    display: block;
    font-size: 13px;
    height: 25px;
    line-height: 25px;
    position: relative;
}

.ui_menu>*:not(hr):before {
    content: '\e77c';
    font-family: "webdesk_icon" !important;
    display: block;
    height: 25px;
    line-height: 28px;
    width: 30px;
    border-right: 1px solid #ddd;
    float: left;
    color: #666;
    text-align: center;
    margin-right: 6px;
    font-size: 14px;
}

.ui_menu>*.disable,
.ui_menu>*.disable::before {
    color: #ccc;
    pointer-events: none;
}

.ui_menu>*:hover {
    box-shadow: rgb(255, 255, 255) 0px 0px 3px inset;
}

.ui_menu>*:not(hr):hover:after {
    content: '';
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    border: solid 1px rgba(161, 197, 247, 0.8);
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 3px;
    background: rgba(161, 197, 247, 0.2);
    background: linear-gradient(to bottom, rgba(161, 197, 247, 0.3) 1%, rgba(255, 255, 255, 0.3) 5%, rgba(161, 197, 247, 0.1) 50%, rgba(161, 197, 247, 0.3) 55%);
}

.ui_menu>hr {
    height: 1px;
    border: 0px;
    margin: 0px;
    margin-left: 30px;
    background: #ddd;
}


/*刷新的菜单项*/

.pagebox .ui_menu>menu_fresh:before {
    content: '\e651';
}
.pagebox .ui_menu>menu_print:before {
    content: '\a046';
}


/*关闭*/

.pagebox .ui_menu>menu_close:before {
    content: '\e606';
}

.pagebox .ui_menu>menu_min:before {
    content: '\e600';
}

.pagebox .ui_menu>menu_max:before {
    content: '\e6a6';
}

.pagebox .ui_menu>menu_win:before {
    content: '\a012';
}

/*标题栏右上角按钮组*/

.pagebox btnbox {
    width: auto;
    height: 18px;
    top: 0px;
    right: 6px;
    position: absolute;
    display: block;
    border-top: 1px solid rgba(62, 63, 63, 0.6);
    border-top: none;
    z-index: 3;
    border-radius: 0px 0px 4px 4px;
    box-shadow: -2px 0px 2px rgba(255, 255, 255, 0.6), 2px 0px 2px rgba(255, 255, 255, 0.6), 0px 2px 2px rgba(255, 255, 255, 0.6);
}

.pagebox btnbox>* {
    width: 30px;
    height: 18px;
    display: block;
    float: left;
    color: #fff;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(62, 63, 63, 0.6);
    border-left: 1px solid rgba(62, 63, 63, 0.6);
    font-family: "webdesk_icon" !important;
    cursor: pointer;
}

.pagebox btnbox>*:hover {
    background-color: rgb(7, 119, 195);
    box-shadow: rgb(255, 255, 255) 0px 0px 3px inset;
}

.pagebox btnbox>*:active {
    background-color: rgb(23, 119, 197);
    box-shadow: rgb(255, 255, 255) 0px 0px 3px inset;
}

.pagebox btnbox>*:hover:after {
    content: "";
    width: 30px;
    margin-left: 0px;
    margin-top: 10px;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 2;
    text-align: center;
    background-image: radial-gradient(rgba(66, 251, 240, 0.8) 50%, rgba(66, 251, 240, 0));
}

.pagebox btnbox>*:active:after {
    background-image: radial-gradient(rgba(66, 251, 240, 0.8) 40%, rgba(66, 251, 240, 0) 85%);
}

.pagebox btnbox>*:active:before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, .1), rgba(255, 255, 255, .5), rgba(255, 255, 255, .1));
}

.pagebox btnbox>*:first-child {
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(62, 63, 63, 0.6);
    border-top: none;
    border-right: none;
}

.pagebox btnbox>*:last-child {
    border-bottom-right-radius: 4px;
    border: 1px solid rgba(62, 63, 63, 0.6);
    border-top: none;
}

.pagebox btnbox>*::before {
    position: absolute;
    z-index: 3;
    text-shadow: 1px 0px 1px rgba(0, 0, 0, 0.6), -1px 0px 1px rgba(0, 0, 0, 0.6), 0px 1px 1px rgba(0, 0, 0, 0.6), 0px -1px 1px rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 30px;
    display: block;
    text-align: center;
    height: 18px;
    line-height: 18px;
    cursor: pointer;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .1), rgba(255, 255, 255, .8), rgba(255, 255, 255, .1));
}

.pagebox btnbox btn_min {}

.pagebox btnbox btn_min::before {
    content: "\e600";
    font-size: 16px;
    font-weight: 900;
    line-height: 22px;
}

.pagebox btnbox btn_max::before {
    content: "\e693";
    font-size: 15px;
    font-weight: 800;
    padding-top: 2px;
    transform: scale(1.2, 1);
}

.pagebox_full btnbox btn_max::before {
    content: "\e6c4";
    font-weight: 400;
    padding-top: 1px;
}

.pagebox btnbox btn_close {
    --background-color: rgb(195, 7, 7);
    box-shadow: rgba(255, 255, 255, 1) 0px 0px 6px inset;
    width: 45px;
}

.pagebox btnbox btn_close:hover {
    background-color: rgb(228, 32, 32);
}

.pagebox btnbox btn_close::before {
    content: "\e606";
    width: 45px;
    display: block;
    text-align: center;
    height: 18px;
    font-size: 12px;
    font-weight: 800;
    line-height: 18px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .9) 1%, rgba(255, 255, 255, 0.6) 5%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, .1) 55%);
    border-radius: 0px 0px 4px 0px;
}

.pagebox btnbox btn_close:hover::after {
    display: none;
}

/*禁用按钮*/

.pagebox btnbox>*.btndisable {
    background: rgba(220, 220, 220, .4);
    box-shadow: none;
    pointer-events: none;
}

.pagebox btnbox>*.btndisable::before {
    background: rgba(220, 220, 220, .3);
    color: #333;
    text-shadow: none;
    cursor: default;
}

.pagebox btnbox>*.btndisable::after {
    background: #eee;
}

.pagebox btnbox>*.btndisable:hover::after {
    background-image: none;
    background: none;
}

/*内容区*/

.pagebox iframe {
    width: calc(100% - 12px - 2px);
    height: calc(100% - 28px - 6px - 2px);
    bottom: 5px;
    left: 6px;
    position: absolute;
    background-color: rgba(226, 224, 224, 1);
    border: 1px solid #777;
    border-radius: 0px 0px 6px 6px;
    box-shadow: 0px -1px 2px 1px rgba(255, 255, 255, 0.8);
    z-index: 3;
}

/*遮罩*/

.pagebox pagebox_mask {
    position: absolute;
    width: calc(100% - 8px - 2px);
    height: calc(100% - 28px - 3px - 2px);
    background-color: rgba(255, 255, 255, 0.01);
    bottom: 4px;
    left: 5px;
    z-index: 4;
    display: block;
}

/*正在拖动窗体时，显示遮罩*/

.pagebox_drag pagebox_mask {
    display: block !important;
}

.pagebox_focus pagebox_mask {
    display: none;
}

/*窗体背景遮罩*/
pagebox_bg_mask {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: rgba(255, 255, 255, .01);
}

/* 焦点窗体的样式 */

.pagebox_focus {
    background-color: rgba(161, 197, 247, 0.95);
    box-shadow: 2px 2px 3px 1px rgba(122, 122, 122, 0.3), -2px -2px 3px 1px rgba(122, 122, 122, 0.3);
}

.pagebox_focus btnbox btn_close {
    background-color: rgb(195, 7, 7);
}

.pagebox_focus iframe {
    background-color: rgb(218, 230, 245);
}



/*窗体最小化的管理区*/

.pagebox-collect {
    width: 45px;
    height: 45px;
    z-index: 999999;
    color: #333;
    cursor: pointer;
    text-align: center;
    text-shadow: 1px 2px 2px #ccc;
    transition: transform 0.15s, color 0.15s;
}

/*当窗体最小化时，管理区的动画效果*/
.pagebox-collect-action {
    color: #666;
    transform: scale(1.2, 1.2);
}

.pagebox-collect::after {
    content: '\a01b';
    display: block;
    height: 100%;
    width: 100%;
    line-height: 100%;
    font-family: "webdesk_icon" !important;
    font-size: 40px;
}

pagebox-minarea {
    overflow-y: auto;
    overflow-x: hidden;
    background-color: rgba(238, 238, 238, .9);
    border: solid 1px #ccc;
    position: absolute;
    z-index: 999999;
    border-radius: 3px;
    transition: opacity 0.3s, width 0.5s, height 0.5s;
    box-shadow: 2px 2px 3px 1px rgba(200, 200, 200, 0.3), -2px -2px 3px 1px rgba(200, 200, 200, 0.3);
    box-shadow: rgb(238, 238, 238) 0px 0px 8px inset;
}



/*最小化的窗体*/
pagebox-min {
    display: block;
    width: 150px;
    height: 30px;
    user-select: none;
    cursor: default;
    background-color: rgba(161, 197, 247, 0.4);
    box-shadow: 2px 2px 3px 1px rgba(200, 200, 200, 0.3), -2px -2px 3px 1px rgba(200, 200, 200, 0.3);
    border-radius: 3px;
    border: 1px solid rgba(62, 63, 63, 0.3);
    overflow: hidden;
    float: left;
    position: relative;
    margin: 8px 0px 0px 8px;
    transition: opacity 0.3s;
}

pagebox-min:hover {
    background-color: rgba(161, 197, 247, 0.8);
    box-shadow: 2px 2px 3px 1px rgba(155, 155, 155, 0.3), -2px -2px 3px 1px rgba(155, 155, 155, 0.3);
}

pagebox-min pb-ico {
    height: 30px;
    width: auto;
    max-width: 30px;
    margin-left: 5px;
    line-height: 30px;
    font-size: 18px;
    float: left;
    font-family: "webdesk_icon" !important;
    text-shadow: 0.2rem 0rem 1.2rem rgba(255, 255, 255, 1), -0.2rem 0rem 1.2rem rgba(255, 255, 255, 1), 0rem 0.2rem 1.2rem rgba(255, 255, 255, 1), 0rem -0.2rem 1.2rem rgba(255, 255, 255, 1);
}

pagebox-min pb-text {
    height: 30px;
    line-height: 30px;
    width: calc(100% - 50px);
    font-size: 14px;
    overflow: hidden;
    padding-right: 5px;
    text-indent: 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 1;
    float: left;
    cursor: default;
    text-shadow: 0.2rem 0rem 1.2rem rgba(255, 255, 255, 1), -0.2rem 0rem 0.2rem rgba(255, 255, 255, 1), 0rem 0.2rem 1.2rem rgba(255, 255, 255, 1), 0rem -0.2rem 1.2rem rgba(255, 255, 255, 1);
}

pagebox-min btn_close {
    background-color: rgb(245, 45, 45);
    box-shadow: rgba(255, 255, 255, 1) 0px 0px 6px inset;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 7px;
    right: 7px;
    cursor: pointer;
}

pagebox-min btn_close.disable {
    background-color: #999;
    pointer-events: none;
}

pagebox-min btn_close:before {
    content: "\e606";
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    line-height: 15px;
    border-radius: 0px 0px 4px 0px;
    font-family: "webdesk_icon" !important;
}

/*窗口集中管理区的右键菜单*/
pageboxcollect_contextmenu {
    display: block;
    z-index: 1000000;
    background-color: rgba(238, 238, 238, 1);
    border: 1px solid #999;
    width: 140px;
}
pageboxcollect_contextmenu.ui_menu>menu_all_towindow:before{
    content: '\a001';
}
pageboxcollect_contextmenu.ui_menu>menu_all_min:before{
    content: '\a024';
}
pageboxcollect_contextmenu.ui_menu>menu_all_close:before{
    content: '\e606';
}